home *** CD-ROM | disk | FTP | other *** search
- .key PName
- .bra {
- .ket }
-
- ;/*
- ;** $VER: LPQ 1.000 (18.10.00) © <gcalzo@geocities.com>
- ;**
- ;**
- ;** FUNCTION:
- ;** Returns info on the printer queue status
- ;**
- ;** - PName printer queue name
- ;**
- ;** In smb.conf use the following cmd:
- ;** lpq command = /Samba/LPQ %p
- ;**
- ;** $HISTORY:
- ;**
- ;** 18 Oct 2000 : 001.000 : First public release to Aminet
- ;** 14 Oct 2000 : 000.002 : Corrected a typo in the header :-(
- ;** 26 Jun 2000 : 000.001 : Returns info on the printer queue status
- ;**
- ;*/
-
- FailAt 21
-
- Echo >>T:LPQ.log ""
- Date >>T:LPQ.log
- Echo >>T:LPQ.log "Queue status Printer={PName}"
-
- ;Echo ONLINE
- ;Echo OFFLINE
- Echo OK
-
- FailAt 10
-
-